package com.yanqu.road.server.manager.strongholdwar;

import java.math.BigInteger;
import java.util.HashMap;
import java.util.Map;

public class MammonHelpResult {
    private int ret;
    private int killNum;
    private int attackNum;
    private BigInteger totalDamage;
    private String unionName = "";

    private Map<Integer, BigInteger> unionDamageMap = new HashMap<>();
    private Map<String, BigInteger> unionDamageMapEx = new HashMap<>();
    private BigInteger memberTotalDamage = BigInteger.ZERO;
    private Map<String, Integer> unionRemainBloodMap = new HashMap<>();//剩余血量万分比

    public MammonHelpResult(int killNum, int attackNum, BigInteger totalDamage, Map<Integer, BigInteger> unionDamageMap) {
        this.killNum = killNum;
        this.attackNum = attackNum;
        this.totalDamage = totalDamage;
        this.unionDamageMap = unionDamageMap;
    }

    public MammonHelpResult(int killNum, int attackNum, BigInteger totalDamage) {
        this.killNum = killNum;
        this.attackNum = attackNum;
        this.totalDamage = totalDamage;
    }

    public Map<String, BigInteger> getUnionDamageMapEx() {
        return unionDamageMapEx;
    }

    public void setUnionDamageMapEx(Map<String, BigInteger> unionDamageMapEx) {
        this.unionDamageMapEx = unionDamageMapEx;
    }

    public Map<String, Integer> getUnionRemainBloodMap() {
        return unionRemainBloodMap;
    }

    public void setUnionRemainBloodMap(Map<String, Integer> unionRemainBloodMap) {
        this.unionRemainBloodMap = unionRemainBloodMap;
    }

    public MammonHelpResult(int ret) {
        this.ret = ret;
    }

    public int getRet() {
        return ret;
    }

    public int getKillNum() {
        return killNum;
    }

    public int getAttackNum() {
        return attackNum;
    }

    public BigInteger getTotalDamage() {
        return totalDamage;
    }

    public Map<Integer, BigInteger> getUnionDamageMap() {
        return unionDamageMap;
    }

    public void setUnionName(String unionName) {
        this.unionName = unionName;
    }

    public String getUnionName() {
        return unionName;
    }

    public BigInteger getMemberTotalDamage() {
        return memberTotalDamage;
    }

    public void setMemberTotalDamage(BigInteger memberTotalDamage) {
        this.memberTotalDamage = memberTotalDamage;
    }
}
